<template>
	<view>
		<uni-list>
			<uni-list-item v-for="(item,index) in options" :key="index" :title="item.key" :rightText="item.value"></uni-list-item>

		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				options:[],
				query: [{
						key: '检查主题',
						value: 'lx'
					},
					{
						key: '检查项目',
						value: 'mc'
					},
					{
						key: '申请时间',
						value: 'sj'
					},
					{
						key: '状态',
						value: 'zt'
					}
				]
			}
		},
		onLoad(option){
			console.log(option);
			// 检查详情
			this.query.forEach((item,index)=>{
				var xm={
					value:option[item.value],
					key:item.key
				}
				this.options.push(xm)
			})
		},
		methods: {
		}
	}
</script>

<style>

</style>